#include <QThread>

#include "world.h"
#include "space.h"

class UpdateThread : public QThread
{
public:
    UpdateThread(World * world_, Space * space_);
    void run();
    
public slots:
    void setSimulate(bool sim_);

private:
    bool sim;
    World * world;
    Space * space;
};
